package lunchy.mvc.controllers;

import lunchy.mvc.models.CLunchyLoginDialogModel;

public class CLunchyLoginDialogController
{
	CLunchyLoginDialogModel model;
	
	public CLunchyLoginDialogController()
	{
		model = new CLunchyLoginDialogModel();
	}
	
	public boolean tryLogin(String login, String password)
	{
		if(login != "" && password != "")
			return model.login(login, password);
		else
			return false;
	}
}
